export interface Account {
  id: string;
  platform: string;
  username: string;
  password?: string;
  status: 'online' | 'offline' | 'error' | 'checking';
  lastActive?: Date;
  createdAt: Date;
  cookies?: string;
 备注?: string;
}

export interface Platform {
  id: string;
  name: string;
  logo?: string;
  loginUrl: string;
 检测规则: {
    urlPattern?: string;
    domSelector?: string;
    apiEndpoint?: string;
  };
}